
#import "PywPlatformMain.h"
#import "PywFileManager.h"

@implementation PywPlatformMain

signleton_m(PlatformMain)

- (instancetype)init
{
    self = [super init];
    if (self) {
        self.passport = @"";
        self.passport_pwd = @"";
        self.passport_Token = @"";
        
        self.account = @"";
        self.account_pwd = @"";
        self.token = @"";
        self.uid = @"";
        self.changeAccount = [[PywFileManager manager] objectForKey:@"changeAccount"];
        self.canHideLogin = YES;
        self.is_have_pay_pwd = NO;
        self.is_deleteAccountBtn = NO;
        self.is_verify_show = NO;
        self.is_verify = NO;
        self.is_game_fast_login = NO;
        self.startTime = @"";
    }
    return self;
}

- (void)dealloc {
    self.passport = nil;
    self.token = nil;
    self.uid = nil;
    self.passport_Token = nil;
    self.passport_pwd = nil;
    self.account = nil;
    self.account_pwd = nil;
    self.changeAccount = nil;
    self.startTime = nil;
}


@synthesize userName;
@synthesize account;
@synthesize account_pwd;
@synthesize passport_Token;
@synthesize passport;
@synthesize token;
@synthesize uid;
@synthesize msisdn;
@synthesize startTime;

@synthesize tmp_pay_pwd;
@synthesize passport_pwd;
@synthesize sms_code;
@synthesize sms_code_expire;


@synthesize logined;
@synthesize initialized;
@synthesize logouted;

@synthesize collect_open;
@synthesize collect_interval;
@synthesize collect_to_where;


@synthesize is_deleteAccountBtn;
@synthesize is_have_pay_pwd;
@synthesize is_fastRegister;
@synthesize is_verify_show;
@synthesize is_verify;
@synthesize is_game_fast_login;
@synthesize is_autoRegisterLogin;
@synthesize is_reg_open;
@end
